#include <iostream>
using namespace std;

class fbyvector{
    public:
		fbyvector();
        fbyvector(int xlim, int ylim);
    public:
    //定义重载运算符+
        fbyvector operator+(const fbyvector &B) const;		
        void f_display();
    private:
        int m_xlim;
        int m_ylim;
};

fbyvector::fbyvector():m_xlim(0),m_ylim(0){}
fbyvector::fbyvector(int xlim, int ylim):m_xlim(xlim),m_ylim(ylim){}

fbyvector fbyvector::operator+(const fbyvector &B) const{
    return fbyvector(this->m_xlim + B.m_xlim, this->m_ylim + B.m_ylim);
}
void fbyvector::f_display(){
    cout<<"( "<<m_xlim<<", "<<m_ylim<<" )"<<endl;
}

int main()
{
    fbyvector a(1 , 2);
    fbyvector b(6 , 8);
    fbyvector c;

    c = a + b;
    c.f_display();
    return 0;
}